FROM node:latest
COPY ./ /usr/code
WORKDIR /usr/code
RUN rm -Rf node_modules && npm install && npm install pm2 -g

EXPOSE 3003

CMD ["node", "app.js"]